package org.jeecg.modules.activiti.entity;

import lombok.Data;
import org.jeecg.common.system.vo.LoginUser;

import java.util.List;

/*节点*/
@Data
public class ProcessNodeVo {

    /**节点id*/
    private String id;
    /**流程定义id*/
    private String procDefId;
    /**节点名*/
    private String title;
    /**节点类型 0开始 1用户任务 2结束 3排他网关 4并行网关*/
    private Integer type;
    /**关联角色*/
    private List<Role> roles;
    /**关联用户*/
    private List<LoginUser> users;
    /**关联部门*/
    private List<Department> departments;
    /**关联部门负责人**/
    private List<Department> departmentManages;
    /**表单变量**/
    private String formVariables;
    /**选操作人的部门负责人*/
    private Boolean chooseDepHeader = false;
    /**选操作人的部门分管领导*/
    private Boolean chooseDepLeader = false;
    /**选操作人的部门总经理*/
    private Boolean choosePresident = false;
    /**选操作人的部门董事长*/
    private Boolean chooseCeo = false;
    /**选财务部领导*/
    private Boolean financeLeader = false;
    /**选财务部*/
    private Boolean finance = false;
    /**选综合部负责人*/
    private Boolean comprehensiveDeptLeader = false;
    /**选副总经理*/
    private Boolean chooseViceCeo = false;
    /**选总会计师*/
    private Boolean chooseGeneralAccountant = false;
    /**选操作人*/
    private Boolean chooseSponsor = false;
    /**节点展开 前端所需*/
    private Boolean expand = true;

    // update-being-autor: wmf at 2022-01-19 17:53 for : 节点审批人变更
    /**角色*/
    private Boolean role = false;
    /**费用承担部门负责人*/
    private Boolean costDeptManage = false;
    /**费用承担分管领导*/
    private Boolean costDeptLeaders = false;
    /**发起人*/
    private Boolean starter = false;
    /**发起人的部门负责人*/
    private Boolean starterdeptmanager = false;
    /**发起人的部门分管领导*/
    private Boolean starterdeptleaders = false;
    /**选择人员*/
    private Boolean user = false;
    /**表单变量*/
    private Boolean variable = false;
    // update-end-autor: wmf at 2022-01-19 17:53 for : 节点审批人变更

    // update-begin-by wujinbiao 2022/3/15 11:32 for 添加组织类型、组织名称字段
    /**流程定义id*/
    private Integer orgType;
    /**流程定义id*/
    private String org;
    // update-end-by wujinbiao 2022/3/15 11:32 for 添加组织类型、组织名称字段
}
